package flextv.search.event {

import com.adobe.cairngorm.control.CairngormEvent;


public class InvokeSearchEvent extends CairngormEvent {
	
	public static const INVOKE_SEARCH: String = "invokeSearch";
	
	private var _searchTerm: String;
	
	public function InvokeSearchEvent(searchTerm: String) {
		super(INVOKE_SEARCH);
		
		_searchTerm = searchTerm;
	}
	
	public override function toString(): String {
		return "InvokeSearchEvent[searchTerm="+_searchTerm+"]";
	}
	
	public function get searchTerm(): String {
		return _searchTerm;
	}
	
}
}